<?php

namespace App\Services\Warehouse\Model;

use App\Models\Administrator;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Carbon;

class Parts extends Model
{
    //新品
    public const NEW = 1;
    //不是新品
    public const ONT_NEW = 2;

    //没报废
    public const NOT_SCRAP = 1;
    //报废
    public const SCRAP = 2;

    protected $table = 'k_parts';

    protected $fillable = [
        'partsCode', 'partsName','brand','model','vendorId','categoryId','source','remark','user_id','new_product','isScrap'
    ];
}
